//
// Created by jie.jiang on 2022/10/20.
//

#ifndef FOC_COMMAND_H
#define FOC_COMMAND_H

#define USART_RX_DMA_BUFFER_SIZE    (1<<6)
#define USART_RX_DMA_BUFFER_MASK    (USART_RX_DMA_BUFFER_SIZE-1)

typedef enum {
    COMMAND_SET_VELOCITY,
    COMMAND_SET_ANGLE,
}Command_t;

void commandInit(void);
void commandAnl(void);
#endif //FOC_COMMAND_H
